<html>
	<head>
		<link rel="stylesheet" href="/%{$core_root}/css/core.css" type="text/css">
		<script type="text/javascript" src="/%{$core_root}/js/lib/jquery/jquery-1.2.6.min.js"></script>
		<script type="text/javascript">
			$(document).ready(function() {
				$("a#showSystemInformation").click(function () {
					$("#systemInformationContainer").fadeIn("slow");
					return false;
				});
			});
		</script>			
	</head>
	<body>
		<h2>ALFA DEVELOPER PANEL</h2>
		
		<br/>
		%{include file='blocks/messages.html'}
		<br/>
		You have the following available options :
		<ul>
			<li><a href="%{url action="development/index.html"}">Return to development index page</a></li>
			<li><a href="%{url action="development/controller/reload.html"}">Clean cache</a></li>
			<li>
				<span>Database operations</span>
				<ul>
					<li><a href="%{url action="development/db/execute.html/command/"}">Build</a></li>
					<li><a href="%{$site_url}/development/db/execute.html/command/create-db">Create database</a></li>
					<li><a href="%{$site_url}/development/db/execute.html/command/creole">Create schema</a></li>
					<li><a href="%{$site_url}/development/db/execute.html/command/insert-sql">Execute sql</a></li>
					<li>
						<div class="context-form-zone">
							<form name="importDBForm" method="POST">
								<fieldset>
								<legend>Import DBDesigner 4 Model</legend>
									<label>Model:</label>
									/src/main/resources/db/generator/
									<input type="text" name="model" size="10" value="%{$model}"/>(.xml) 
									<br/>
									<label>Schema:</label>
									/src/main/resources/db/generator/
									<input type="text" name="schema" size="10" value="%{$schema}"/>(.xml)
									<br/>
									<input type="submit" name="method:importDbDesigner" value="Import" class="submit"/>
									<br/><br/>
									<span><b>Note:</b></span>
									<span>DB4 Designer is obsolete. MySQL Workbench is an improved version that
									works much better and also has a plugin that exports Propel schema files.<br/>
									You can download the plugin from <a href="http://www.diloc.de/blog/2008/05/27/mysql-workbench-propel-export-plugin/">here</a>.
									</span> 
								</fieldset>
							</form>
						</div>
					</li>
				</ul>
			</li>	
			<li>
				<a href="#" id="showSystemInformation">System information</a>
				<div style="display:none" id="systemInformationContainer">
				</div>
			</li>
		</ul>	
	

	
	</body>
</html>

